﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LTHD_Web.RSS
{
    public class RssClass
    {
        private string title;
        private string description;
        private string link;
        private string copyright;
        private string docs;
        private string generator;
        
        private List<ItemClass> listItems;

        #region
        public List<ItemClass> ListItems
        {
            get { return listItems; }
            set { listItems = value; }
        }

        public string Generator
        {
            get { return generator; }
            set { generator = value; }
        }

        public string Docs
        {
            get { return docs; }
            set { docs = value; }
        }

        public string Copyright
        {
            get { return copyright; }
            set { copyright = value; }
        }

        public string Link
        {
            get { return link; }
            set { link = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        #endregion

        public RssClass()
        {
        }
        public void addItem(ItemClass item)
        {
            this.listItems.Add(item);
        }
    }
}